package com.qianji.petmall.product.feign;

import com.qianji.common.to.SkuRoundTo;
import com.qianji.common.to.SupBoundTo;
import com.qianji.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author liang zai
 * @date 2022/1/25 18:33
 * @description
 */
@FeignClient("petmall-coupon")
public interface CouponFeignService {
    @PostMapping("/coupon/skuladder/saveinfo")
    R saveSkuLadder(@RequestBody SkuRoundTo skuRoundTo);

    @PostMapping("/coupon/spubounds/save")
    R saveSupBounds(@RequestBody SupBoundTo supBoundTo);
}
